package com.ctrip.ec.api.mobile.model.order;

import com.ctrip.ec.biz.entity.order.OrderEntity;
import com.ctrip.ec.biz.entity.order.OrderGoodsEntity;

import java.util.List;

/**
 * Created by jiangzy on 2018/10/8.
 */
public class OrderModel extends OrderEntity {
    public  OrderModel(){}
    public  OrderModel(OrderEntity entity){
        for(String col : entity.property().getColumns()){
            this.fieldValue(col,entity.fieldValue(col));
        }
    }


    private  String storeName;
    private  String storeLogoImageUrl;
    private  Integer buyCount;
    private  String paymentName;

    public String getPaymentName() {
        return paymentName;
    }

    public void setPaymentName(String paymentName) {
        this.paymentName = paymentName;
    }

    private List<OrderGoodsEntity> goodsList;

    public Integer getBuyCount() {
        return buyCount;
    }

    public void setBuyCount(Integer buyCount) {
        this.buyCount = buyCount;
    }




    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getStoreLogoImageUrl() {
        return storeLogoImageUrl;
    }

    public void setStoreLogoImageUrl(String storeLogoImageUrl) {
        this.storeLogoImageUrl = storeLogoImageUrl;
    }

    public List<OrderGoodsEntity> getGoodsList() {
        return goodsList;
    }

    public void setGoodsList(List<OrderGoodsEntity> goodsList) {
        this.goodsList = goodsList;
    }
}
